/*
** map.h for map_header in /home/gjura_r//SDL/projet
** 
** Made by romain gjura
** Login   <gjura_r@epitech.net>
** 
** Started on  Fri Apr 12 11:37:54 2013 romain gjura
** Last update Fri Apr 12 15:35:36 2013 romain gjura
*/

#ifndef MAP_H_
# define MAP_H_

typedef struct	s_map
{
  int		**tab;
  int		**copy;
  int		x;
  int		y;
  int		nb_line;
  int		nb_col;
}		t_map;

int		count(FILE *, t_map *);
int		read_map(FILE *, t_map *);
int		**copy_map(int **, int **, t_map *);
int		alloc_copy(t_map *);
void		free_tab(int **, int);

#endif 
